package com.derry

fun main() {
//    val number = 148
    var number = 0
    if (number in 0..59) {
        println("不及格")
    } else if (number in 60..79) {
        println("良好")
    } else if (number !in 0..100) {
        println("分数不合规")
    }

    val week = 5

    val info = when (week) {
        1 -> "xxxx"
        2 -> "yyy"
        3 -> "zzz"
        else -> {
            println("其他周")
        }
    }
    println(info)
}